package com.memorywords.service;

import com.memorywords.pojo.User;

public interface UserService {

    //注册
    void register(String username, String password, String email);

    //根据用户名查询用户
    User findByUserName(String username);

    //修改密码
    void exitPwd(String newPassword);

    //发送验证码
    void getEmail(String email, String code);

    //更新进度
    void updatePgs(int progress, int id);
}
